import request from '@/utils/request'
// 首页健康课程
export function fetchIndexFireList (data) {
  return request({
    url: 'classroom/popular',
    method: 'post',
    data
  })
}
// 首页健康课程
export function fetchIndexHealthList (data) {
  return request({
    url: 'classroom/popularHealth',
    method: 'post',
    data
  })
}
// 首页学历课程
export function fetchIndexRecordList (data) {
  return request({
    url: 'get/classList',
    method: 'post',
    data
  })
}
// 首页学院咨询   ----  没有接口，数据是死的。忘了
export function fetchIndexConsultList (data) {
  return request({
    url: 'get/classList',
    method: 'post',
    data
  })
}
